package cs9322.assign3.dao;

import java.util.HashMap;
import java.util.Map;

import cs9322.assign3.model.Order;

public enum OrdersDao {
	instance;

    private Map<String, Order> orderList = new HashMap<String, Order>();

    private OrdersDao() {

////        Order order = new Order(1, "mocha","large", false, "no");
//        order.setPrice(2.5);
//        order.setUrl("http://localhost:8080/cs9322.assign3.coffee/starbucks/orders/1");
//        orderList.put("1", order);
////        Order order2 = new Order(2,"latte","medium", false, "no");
//        order2.setPrice(3.30);
//        order2.setUrl("http://localhost:8080/cs9322.assign3.coffee/starbucks/orders/2");
//        orderList.put("2", order2);
    }
    public Map<String, Order> getStore(){
        return orderList;
    }

}
